// main.cpp : defines the entry point for the console application.

#include "VRDisassembly.h"
#include <dtUtil/fileutils.h>

using namespace dtUtil;

int main()
{
	HWND hwnd = GetForegroundWindow();
	SendMessage( hwnd, WM_SETICON, ICON_SMALL, (LPARAM)LoadIcon( NULL, "IDI_TITLE" ) );

	std::string dataPath = dtUtil::FileUtils::GetInstance().CurrentDirectory();

	dtCore::SetDataFilePathList( dataPath + "/models/;");

	dtCore::RefPtr<VRDisassembly> app = new VRDisassembly( "config.xml" );

	app->Config();

	app->Run();

	return 0;

}

